package com.xh.easyretry.visitor;

import com.xh.easyretry.common.XHRetryContext;
import com.xh.easyretry.common.XHRetryResult;

public abstract class Visitor {

    /**
     * 重试开始时触发
     */
    public abstract void visit(XHRetryContext retryContext);

    /**
     * 重试失败时触发
     */
    public abstract void visit(XHRetryResult retryResult);
}
